Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.template.directory.sql--directories

This contribution is part of XML component org.nuxeo.template.directory.sql inside nuxeo-runtime-9.10.jar /Users/arnaud/Nuxeo/distrib/nuxeo-server-tomcat-9.10/nxserver/config/sql-template-directory-config.xml

Extension Point

Extension point directories of component SQLDirectoryFactory.

Contributed Items

  • <directory name="template-directory" template="true">
          <dataSource>java:/nxsqldirectory</dataSource>
          <createTablePolicy>on_missing_columns</createTablePolicy>
        </directory>
  • <directory extends="template-directory" name="template-user" template="true">
          <table>users</table>
          <computeMultiTenantId>false</computeMultiTenantId>
        </directory>
  • <directory extends="template-directory" name="template-group" template="true">
          <table>groups</table>
        </directory>

XML Source

<extension point="directories" target="org.nuxeo.ecm.directory.sql.SQLDirectoryFactory">

    <directory name="template-directory" template="true">
      <dataSource>java:/nxsqldirectory</dataSource>
      <createTablePolicy>on_missing_columns</createTablePolicy>
    </directory>

    <directory extends="template-directory" name="template-user" template="true">
      <table>users</table>
      <computeMultiTenantId>false</computeMultiTenantId>
    </directory>

    <directory extends="template-directory" name="template-group" template="true">
      <table>groups</table>
    </directory>

  </extension>